package com.ebelter.btcomlib.models.bluetooth.bean;

/**
 * 睡眠单元
 */

public class SleepUnit {
    public long duration;

    public  SleepQuality sleepQuality = SleepQuality.DeepSleep;

    public double percentage;

    public SleepUnit(long duration, SleepQuality sleepQuality) {
        this.duration = duration;
        this.sleepQuality = sleepQuality;
    }

    @Override
    public String toString() {
        return "SleepUnit{" +
                "duration=" + duration +
                ", sleepQuality=" + sleepQuality +
                ", percentage=" + percentage +
                '}';
    }
}
